﻿using Ouere.Contract.Domain;
using System.Collections.Generic;

namespace Ayatta.Contract.Domain
{
    /// <summary>
    /// 宠物背包
    /// </summary>
    public class PetBag : BaseEntity<int>
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 所属宠物Id
        /// </summary>
        public int PetId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 类型0为物品背包1为临时背包
        /// </summary>
        public PetBagCategory Category { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 扩展信息
        /// </summary>
        public string Extra { get; set; }

        /// <summary>
        /// 宠物背包格子
        /// </summary>
        public virtual IList<PetBagCell> Cells { get; set; }
    }
}